package com.example.javasample.mapper;

import com.example.javasample.domain.BlogDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * BlogMapper
 *
 * @author Kylin
 */
public interface BlogMapper {

    List<BlogDO> list(BlogDO blog);

    BlogDO detail(Long blogId);

    int batchAdd(@Param("blogList") List<BlogDO> blogList);

}
